import React, { FC } from 'react';
import { Popover } from 'antd';

interface IProps {
  imgUrl: string;
}

const Node: FC<IProps> = ({ imgUrl }) => {
  return (
    <Popover content={<div>123</div>} mouseEnterDelay={0.5}>
      <div id="react-node">
        <img src={imgUrl} />
        <div className="text">2312</div>
      </div>
    </Popover>
  );
};

export default Node;
